module.exports = app => {
  const {STRING,DOUBLE} = app.Sequelize

  const Admin = app.model.define('admin',{
    adminname: STRING,               //用户名
    password: STRING,               //密码
    headImg:STRING,                 //头像
    auth:DOUBLE                     //权限
  })

  return Admin
}